package cn.bonoon.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import cn.bonoon.kernel.support.entities.BaseEntity;
import cn.bonoon.kernel.support.entities.EntityStatus;

/**
 * 可以对用户进行组织，因为角色是无法跨子系统的，所以在角色之外，需要增加一个用户组的方式来补充
 * 
 * 如：把某些用户分为测试组，可以对这些特定的组发信息等
 * 
 * @author jackson
 *
 */
@Entity
@Table(name = "t_group")
@Inheritance(strategy = InheritanceType.JOINED)
public class GroupEntity extends BaseEntity implements EntityStatus{

	private static final long serialVersionUID = -2410544632430005515L;
	
	@Column(name = "C_STATUS")
	private int status;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
